<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>纽斯达 NewStar | 特约商户加盟</title>
<base href="<?=base_url()?>"  />
<link rel="stylesheet" href="css/base.css" />
<link rel="stylesheet" href="css/main.css" />
<link rel="stylesheet" href="css/message.css" />
<script type="text/javascript" src="js/jquery.js"></script>
<script type="text/javascript" src="js/placeholder.js"></script>
<script type="text/javascript" src="js/nav.js"></script>
<script type="text/javascript" src="js/common.js"></script> 
<script type="text/javascript" src="js/validation/application.js"></script> 
</head>
<body>
<div id="top-nav">
  <div class="container fn-clear">
    <div class="left text-darkgrey">
      <?php if($uid):?>
      <p>欢迎来到纽斯达！ 您好，<span class="text-yellow"><?=$name?></span>！<a href="home/logout" class="a-yellow">注销登录</a></p>
      <?php else:?>
      <p>欢迎来到纽斯达！ 请<a href="user/login" class="a-yellow">登录</a> <a href="user/register" class="a-yellow">免费注册</a></p>
      <?php endif;?>
    </div>
    <div class="right">
      <p><a href="user" class="a-yellow">会员中心</a>　<a href="help" class="a-yellow">帮助中心</a></p>
    </div>
  </div>
</div>
<div id="top">
  <div id="logo" class="fn-clear">
    <h1><a href="home" title="纽斯达 NewStar"><img src="images/logo.jpg" alt="纽斯达 NewStar" /></a></h1>
  </div>
  <div id="main-search">
    <form action="business/businessList" method="post">
      <input id="search" type="text" name="search" class="input" placeholder="搜索特约商户、商户地址..." />
      <input type="submit" value="搜索" class="button" />
    </form>
  </div>
</div>
<div id="nav" class="fn-clear">
  <ul>
    <li class="nav-item"><a href="home">首页</a></li>
    <li class="nav-item"><a href="news">最新动态</a>
      <ul>
        <li><a href="news/newsList">纽斯达新闻</a></li>
        <li><a href="news/activityList">商户活动</a></li>
        <li><a href="news/cardPostList">卡片公告</a></li>
      </ul>
    </li>
    <li class="nav-item"><a href="about/content/<?=$cardAboutList[0]['id']?>">纽斯达卡</a>
      <ul>
      	<?foreach ($cardAboutList as $row):?>
        <li><a href="about/content/<?=$row['id']?>"><?=$row['name']?></a></li>
        <?endforeach;?>
      </ul>
    </li>
    <li class="nav-item"><a href="business">特约商户</a></li>
    <li class="nav-item"><a href="user">会员中心</a></li>
    <li class="nav-item"><a href="help">帮助中心</a>
      <ul>
        <li><a href="card/balance">卡余额查询</a></li>
        <li><a href="help">常见问题</a></li>
        <li><a href="help/message">用户留言</a></li>
      </ul>
    </li>
    <li class="nav-item"><a href="about/content/<?=$aboutList[0]['id']?>">关于我们</a>
      <ul>
        <?foreach ($aboutList as $row):?>
        <li><a href="about/content/<?=$row['id']?>"><?=$row['name']?></a></li>
        <?endforeach;?>
      </ul>
    </li>
  </ul>
  <div id="check"><a href="check">特约商户网上对账</a></div>
</div>
<div id="main" class="fn-clear">
  <div id="bread-nav" class="fn-clear">
    <ul>
      <li><a href="home">首页</a></li>
      <li><a href="message/business">卡片申购</a></li>
    </ul>
  </div>
  <div id="message">
    <h2>卡片申购</h2>
    <?=form_open('card/application',$form)?>
    <?=validation_errors('<label class="err">', '</label>'); ?>
      <label id="jserr" class="hint"></label>
      <p class="text-yellow info">请您如实填写以下信息，纽斯达客户经理会及时与您取得联系！</p>
      <p>　公司名称：
        <input id="company" type="text" name="company" value="<?=set_value('company')?>" />
      </p>
      <p>　　联系人：
        <input id="name" type="text" name="name" value="<?=set_value('name')?>" />
      </p>
      <p>　联系电话：
        <input id="phone" type="text" name="phone" value="<?=set_value('phone')?>" />
      </p>
      <p>　公司地址：
        <input id="address" type="text" name="address" value="<?=set_value('address')?>" />
      </p>
      <p class="text-yellow info">卡片金额的注意事项</p>
      <p>　　面额一：
      	<input id="denomination1" class="tiny-input" type="text" name="denomination1" value="<?=set_value('denomination1')?>" />
	  	　张数一：
        <input id="number1" class="tiny-input" type="text" name="number1" value="<?=set_value('number1')?>" />
      </p>
       <p>　　面额二：
        <input id="denomination2" class="tiny-input" type="text" name="denomination2" value="<?=set_value('denomination2')?>" />
      	　张数二：
        <input id="number2" class="tiny-input" type="text" name="number2" value="<?=set_value('number2')?>" />
      </p>
       <p>　　面额三：
        <input id="denomination3" class="tiny-input" type="text" name="denomination3" value="<?=set_value('denomination3')?>" />
      	　张数三：
        <input id="number3" class="tiny-input" type="text" name="number3" value="<?=set_value('number3')?>" />
      </p>
       <p>　　面额四：
        <input id="denomination4" class="tiny-input" type="text" name="denomination4" value="<?=set_value('denomination4')?>" />
      	　张数四：
        <input id="number4" class="tiny-input" type="text" name="number4" value="<?=set_value('number4')?>" />
      </p>
      <p>　　验证码：
        <input type="text" id="test" name="test" class="short-input" />
        <a id="capImg"><?= $img ?></a> <a id="resetCap" href="javascript:;"  >看不清？换一张！</a>
      </p>
      <p>
        <input type="submit" id="submitCheck" value="提交" class="button business" />
      </p>
    </form>
  </div>
</div>
<div id="bottom">
  <div class="fn-clear">
  <div id="bottom-nav">
    <ul>
      <li><img src="images/about-card-title.jpg" alt="关于卡片" />
        <ul>
          <li><a href="about/content/1">卡片介绍</a></li>
          <li><a href="about/content/3">持卡人须知</a></li>
          <li><a href="about/content/5">注意事项</a></li>
        </ul>
      </li>
      <li><img src="images/cooperation-title.jpg" alt="联系合作" />
        <ul>
          <li><a href="message/business">特约商户加盟</a></li>
        </ul>
      </li>
      <li><img src="images/help-title.jpg" alt="帮助中心" />
        <ul>
          <li><a href="card/balance">卡余额查询</a></li>
          <li><a href="help">常见问题</a></li>
          <li><a href="help/message">用户留言</a></li>
        </ul>
      </li>
      <li><img src="images/contact-title.jpg" alt="联系我们" />
        <ul>
          <li><a href="mailto:nsdkj@nsdkj.com.cn">联系邮箱</a></li>
        </ul>
      </li>
    </ul>
  </div>
  <div id="contact-info">
    <p>热线电话：021-63831111　联系地址：上海市伊犁南路111号钱江商务广场1601室A座</p>
  </div>
  <link rel="stylesheet" href="css/dialog.css" />	
  <script type="text/javascript" src="js/dialog.js"></script>
  <script type="text/javascript">
  $(function(){
  	  // Dialog			
  	  $('#nsdmap').dialog({
  		  autoOpen: false,
		  modal: true,
		  width: 500,
		  height: 500
	  });
	  // Dialog Link
	  $('#contact-info').click(function(){
		  $('#nsdmap').dialog('open');
		  return false;
	  });
  });
  </script>
  <div id="nsdmap" title="纽斯达位置地图">
  <p style="text-align:center;"><img src="http://api.go2map.com/engine/api/static/image+{'points':'上海市伊犁南路111号钱江商务广场1601室A座','width':450,'height':450,'zoom':15,'center':'上海市伊犁南路111号钱江商务广场1601室A座','city':'上海'}.png" /></p>
  </div>
  </div>
  <div id="copyright">
    <p>©2012 上海纽斯达科技有限公司　ICP备案号：沪ICP备10026991号　支付业务许可证编号：Z200973100016</p>
  </div>
</div>
</body>
</html>